package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetTwoKpiRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetTwoKpiPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetTwoKpiDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetTwoKpiDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetTwoKpiDomainImpl extends BaseDomainImpl<BudgetTwoKpiDto, BudgetTwoKpiPo> implements BudgetTwoKpiDomain {

    @Resource
    private BudgetTwoKpiRepository budgetTwoKpiRepository;

    @Override
    public BaseRepository<BudgetTwoKpiPo> getMapper() {
        return budgetTwoKpiRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetTwoKpiPo>> getRepositoryClass() {
        return BudgetTwoKpiRepository.class;
    }

}
